class Role {
    async build () {
        let arr = [0,1,2,3,4,5,6,7,8,9]
        let rand = Math.round(Math.random()*10)
        if (arr[rand] > 7) {
            console.log('构建角色中...')            
            return true
        } else {
            console.log('构建角色完成')    
            return false
        }
    }
}

module.exports = new Role()